﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data.Entity;
using System.ComponentModel.DataAnnotations;
using Server.Model;
using System.Runtime.Serialization;

namespace Server.Service.Model
{
    [DataContract]
    public class WCFPartReservation
    {
        [DataMember]
        public int Id { get; set; }
        [DataMember]
        public WCFReservation Reservation { get; set; }
        [DataMember]
        public WCFBatteryType BatteryType { get; set; }
        [DataMember]
        public WCFBattery Battery { get; set; }
        [DataMember]
        public WCFStation Station { get; set; }

        public WCFPartReservation(PartReservation partReservation)
        {
            this.Id = partReservation.Id;
        }

    }
}
